<?php
require_once(INCLUDE_PATH . "/logs/log_base.class.php");

class log_login extends log_base {
	function __construct($player_id = ""){
		parent::__construct($player_id);
    }
	public function add_log_login($player_id,$level,$money,$gold,$ip) {
		$strContent = "INSERT INTO log_login (player_id,level,money,gold,ip,time) VALUES ('".$player_id."','".$level."','".$money."','".$gold."','".$ip."','".time()."');\n";
		$this->log_write($strContent);
	}
	function __destruct() {
		parent::__destruct();
    }
}
?>